package com.ydgg.ltar.model;

import java.io.Serializable;
import java.util.Date;

public class Admin implements Serializable{
    /**
     * 管理员id
     */
    private Long id;

    /**
     * 角色id
     */
    private Integer roleid;

    /**
     * 账号
     */
    private String username;

    /**
     * 电话号码
     */
    private String telphone;

    /**
     * 密码
     */
    private String password;

    /**
     * 头像
     */
    private String image;

    /**
     * 真实姓名
     */
    private String realname;

    /**
     * 注册时间
     */
    private Date createdAt;

    private String remark;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column admin.id
     *
     * @return the value of admin.id
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column admin.id
     *
     * @param id the value for admin.id
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column admin.roleId
     *
     * @return the value of admin.roleId
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public Integer getRoleid() {
        return roleid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column admin.roleId
     *
     * @param roleid the value for admin.roleId
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column admin.username
     *
     * @return the value of admin.username
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public String getUsername() {
        return username;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column admin.username
     *
     * @param username the value for admin.username
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column admin.telphone
     *
     * @return the value of admin.telphone
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public String getTelphone() {
        return telphone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column admin.telphone
     *
     * @param telphone the value for admin.telphone
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public void setTelphone(String telphone) {
        this.telphone = telphone == null ? null : telphone.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column admin.password
     *
     * @return the value of admin.password
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public String getPassword() {
        return password;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column admin.password
     *
     * @param password the value for admin.password
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column admin.image
     *
     * @return the value of admin.image
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public String getImage() {
        return image;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column admin.image
     *
     * @param image the value for admin.image
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column admin.realName
     *
     * @return the value of admin.realName
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public String getRealname() {
        return realname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column admin.realName
     *
     * @param realname the value for admin.realName
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column admin.created_at
     *
     * @return the value of admin.created_at
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public Date getCreatedAt() {
        return createdAt;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column admin.created_at
     *
     * @param createdAt the value for admin.created_at
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column admin.remark
     *
     * @return the value of admin.remark
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public String getRemark() {
        return remark;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column admin.remark
     *
     * @param remark the value for admin.remark
     *
     * @mbggenerated Tue Nov 20 18:45:37 CST 2018
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}